package xuanke;

import java.util.*;

public class Student {
	Map stuInfo = new HashMap();
	Map stuCourseInfo = new HashMap();
	public Student() {
		stuInfo.put("2021310666","学号:2021310666;姓名:小明哥;班级:大数据212");
	}
	
    public void add(String a,String b) {
    	stuCourseInfo.put(a,b);
    }
    
	public void ShowStuInfo(String n) {
		System.out.println(stuInfo.get(String.valueOf(n)));
	}
	public void ShowStuCourseInfo() {
		Set keys = stuCourseInfo.keySet();
		for(Object k:keys) {
			Object value = stuCourseInfo.get(k);
			System.out.println(value);
		}
	}

}
